package com.huilian.iotbox.data.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author 谢洛涛
 * @date 2021/8/24 15:58
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "huilian.manage.image")
public class ImageProperties {
    private String maxFileSize;
    private String host;
    // 端口
    private int port;
    // ftp用户名
    private String userName;
    // ftp用户密码
    private String passWord;
    // 文件在服务器端保存的主目录
    private String basePath;
    // 访问图片时的基础url
    private String baseUrl;
    private String staticFileUrl;
}
